<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        /* 控制版心 --- 固定宽度+居中 */
        .w {
            width: 1205px;
            margin: auto;
        }




        .a {
            /* width: 100%; */
            height: 100px;
            background-color: #ddd;
        }

        .a h1 {
            width: 200px;
            height: 100px;
            float: left;
            background-color: #f00;
            margin-left: 20px;
        }

        .a ul {
            width: 778px;
            float: right;
            height: 100px;
        }

        .a ul li {
            float: left;
            margin-right: 40px;
            line-height: 100px;
        }
    </style>
</head>

<body>

    <div class="a">
        <div class="w">
            <h1>logo</h1>
            <ul>
                <li>
                    <a href="">少时诵诗书所</a>
                </li>
                <li>
                    <a href="">少时诵诗书所</a>
                </li>
                <li>
                    <a href="">少时诵诗书所</a>
                </li>
                <li>
                    <a href="">少时诵诗书所</a>
                </li>
                <li>
                    <a href="">少时诵诗书所</a>
                </li>
            </ul>
        </div>
    </div>


    <div class="b">
        <div class="w">
            <ul>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
    </div>

</body>

</html>